Supporting TCustomListView Descendants

(aside from TListView, TExtListView and TEnhListView of course)

You may be asking yourself why TExportListView doesn't automatically support these creatures. Well, it can't do it directly since TCustomListView does not expose it's Items property.

How do we do it then? (Requires Registered Version)

  1. Put the unit (CustListView2.pas for example) in the uses clause of ExportLVReg.pas and ExportLV.pas
  2. Replace all TListView occurrences with TCustListView2 (make sure you have "Whole Words" and "Global" checked in the Replace Text Dialog) in ExportLView.pas and ExportLVReg.pas
  3. Replace all TExportListView occurrences with TExportCustListView2 in ExportLVReg.pas
  4. Ensure that TCustListView2 is in the same package as TExportCustListView2.